import axios from './config'

export const draw = data => axios.post('intel/draw', data)  //post类型

export async function getUser(data) { //get类型
    const url = 'intel/draw/user?' + "user_id=" + data.user_id;
    const res = await axios.get(url);
    return res;
}